<?php

namespace Ensao\AppBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class ClientSingulierForm extends AbstractType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        $builder->add('nom') ;
		$builder->add('etatCivil','choice',array('choices'=>array(1=>'سيد',2=>'آنسة',3=>'سيدة'),'multiple' => false,'expanded' => false,'empty_value' => 'حدد الاختيار','empty_data' => null)) ;
		$builder->add('natureClient','choice',array('choices'=>array('cp'=>'ذاتي','cm'=>'معنوي'),'multiple' => false,'expanded' => false,'empty_data' => null,'required' => true)) ;
		$builder->add('prenom') ;
		$builder->add('cin') ;
		$builder->add('profession') ;
		$builder->add('adr') ;
		$builder->add('dateNaissance') ;
		$builder->add('lieuNaissance') ;
		$builder->add('fixeCP') ;
		$builder->add('mobile') ;
		$builder->add('nomEtablissement') 
			->add('registreCommerce') 
			->add('representantOrganisme')
			->add('mobile1')
			->add('mobile2')
			->add('fixeCM')
			->add('fax')
			->add('siegeSocial');
    }

    public function getName()
    {
        return 'clientSingulier';
    }
}
